package model;

/**
 *
 * @author Kevin
 */
public class SoldProduct
{
    private final Product p;
    private final int amount;
    
    public SoldProduct(Product p, int amount)
    {
        this.p = p;
        this.amount = amount;
    }
    
    public Product getProduct()
    {
        return p;
    }    
    
    public int getAmount()
    {
        return amount;
    }
}
